﻿
@{
    ViewBag.Title = "IndexOfStudent";
	Layout = "~/Views/Shared/_StudentLayout.cshtml";
}


<h2>IndexOfStudent</h2>

<table>
    <tr>
        <th></th>
    </tr>

@if (Model != null)
{ 

	foreach (var item in Model.NameOfGames)
	{
		<tr>
			<td>
				@item.Title
			</td>
			<td>
				@item.Description
			</td>
		</tr>
	}

	foreach (var item in Model.NotificationsOfGames)
	{
		<tr>
			<td>
				@item.DateTime
			</td>
		</tr>
	}

	foreach (var item in Model.AnnouncementsOfGames)
	{
		<tr>
			<td>
				@item.Content
			</td>
		</tr>
	}

}
</table>
